package peer.rudp;

import java.util.HashMap;

public class TaskBox {
	public HashMap<TaskIdent,BoxTable> hm;
	long boxNum;
	public TaskBox(long boxNum){
		this.boxNum=boxNum;
		hm=new HashMap<TaskIdent,BoxTable>(10);
	}
	
	@Override
	public boolean equals(Object ob){
		TaskBox tb=(TaskBox)ob;
		return this.boxNum==tb.boxNum;
	}
	
	@Override
	public int hashCode(){
		return Long.toString(boxNum).hashCode();
	}

}
